package lk.icta.common.dao;



import lk.icta.common.entity.Branch;

import java.util.List;
import java.util.Map;

/**
 * @author Kusal Samarakoon
 */
public interface BranchDAO {
    /**
     * Add a branch
     *
     * @param branch
     */
    public void addBranch(Branch branch);

    /**
     * Get Branch by branch id
     *
     * @param branchId
     * @return
     */
    public Branch getBranchById(int branchId);

    /**
     * Update a Branch
     *
     * @param branch
     */
    public void updateBranch(Branch branch);


    public List<Branch> getAllBranchNames();

    public Map<Integer,String> getBranchList(String language);
}